<?xml version="1.0" encoding="utf-8"?>
<CONSTANT_BUFFER xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xmlns ="urn:dsfx0"
        >
  <NAME>cb_Ground_Physical</NAME>
  
  <USAGE>Dynamic</USAGE>

  <UNIFORM>
    <NAME>u_Matrix_UVTransfo</NAME>
    <TYPE>mat4x4</TYPE>
    <DEFAULT_VALUE>1.0 0 0 0 0 1.0 0 0 0 0 1.0 0 0 0 0 1.0</DEFAULT_VALUE>
  </UNIFORM>
  
  <UNIFORM>
    <NAME>u_DisplacementStrength</NAME>
    <TYPE>float</TYPE>
    <DEFAULT_VALUE>0.0</DEFAULT_VALUE>
    <UI_MIN_VALUE>-0.2</UI_MIN_VALUE>
    <UI_MAX_VALUE>0.2</UI_MAX_VALUE>
    <UI_STEP_VALUE>0.001</UI_STEP_VALUE>
  </UNIFORM>
  
  <UNIFORM>
    <NAME>u_DisplacementDelta</NAME>
    <TYPE>float</TYPE>
    <DEFAULT_VALUE>0.0</DEFAULT_VALUE>
    <UI_MIN_VALUE>-0.2</UI_MIN_VALUE>
    <UI_MAX_VALUE>0.2</UI_MAX_VALUE>
    <UI_STEP_VALUE>0.001</UI_STEP_VALUE>
  </UNIFORM>
  
  <UNIFORM>
    <NAME>u_BumpScale</NAME>
    <TYPE>float</TYPE>
    <DEFAULT_VALUE>1.0</DEFAULT_VALUE>
    <UI_MIN_VALUE>-1.0</UI_MIN_VALUE>
    <UI_MAX_VALUE>1.0</UI_MAX_VALUE>
    <UI_STEP_VALUE>0.001</UI_STEP_VALUE>
  </UNIFORM>

  <UNIFORM>
    <NAME>u_Roughness</NAME>
    <TYPE>float</TYPE>
    <DEFAULT_VALUE>1.0</DEFAULT_VALUE>
    <UI_MIN_VALUE>0.0</UI_MIN_VALUE>
    <UI_MAX_VALUE>1.0</UI_MAX_VALUE>
    <UI_STEP_VALUE>0.001</UI_STEP_VALUE>
  </UNIFORM>

  <UNIFORM>
    <NAME>u_FresnelCoef</NAME>
    <TYPE>float3</TYPE>
    <DEFAULT_VALUE>0.0 0.0 0.0</DEFAULT_VALUE>
  </UNIFORM>

  <UNIFORM>
    <NAME>u_NumTesselation</NAME>
    <TYPE>float2</TYPE>
    <DEFAULT_VALUE>1000.0 0.001</DEFAULT_VALUE>
  </UNIFORM>
  
  

</CONSTANT_BUFFER>

